import { Module, SetMetadata } from "@nestjs/common";
import { MODULE_PATH } from "@nestjs/common/constants";
import { TypeOrmModule } from "@nestjs/typeorm";
import { WeappOperateController } from "./operate.controller";
import { WeappOperateService } from "./operate.service";
import { Goods } from "/@/entities/goods/Goods.entity";
import { Cart } from "/@/entities/operate/Cart.entity";
import { Collect } from "/@/entities/operate/Collect.entity";
import { Swiper } from "/@/entities/operate/Swiper.entity";

@Module({
  imports: [TypeOrmModule.forFeature([Cart, Goods, Swiper, Collect])],
  controllers: [WeappOperateController],
  providers: [WeappOperateService],
  exports: [WeappOperateService],
})
@SetMetadata(MODULE_PATH, "/weapp")
export class WeappOperateModule {
  //
}
